﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Photo.Core.Dtos.Dto
{
    /// <summary>
    /// XmSelect下拉树 dto
    /// </summary>
    public class XmSelectTreeDto
    {
        /// <summary>
        /// 节点值
        /// </summary>
        public string Value { get; set; }
        /// <summary>
        /// 节点名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 父级值
        /// </summary>
        public string ParentValue { get; set; } = "0";

        /// <summary>
        /// 子列表
        /// </summary>
        public List<XmSelectTreeDto> Children { get; set; }
    }
}
